---
root: "/v5.1"
keywords: ""
layout: "default"
description: "Swift documentation for 'Identifiable'"
title: "Identifiable"
---

<div class="intro-declaration"><code class="language-swift">protocol Identifiable</code></div><p>A class of types whose instances hold the value of an entity with stable identity.</p>
<table class="standard"><tr><th id="associatedtypes">Associated Types</th><td><span id="aliasesmark"></span><div class="declaration"><code class="language-swift">associatedtype ID</code><div class="comment"></div></div></td></tr></table><div class="discussion comment"></div><h3>Instance Variables</h3><div id="id-b80bb7740288fda1f201890375a60c8f" class="declaration"><a class="toggle-link" href="#comment-id-b80bb7740288fda1f201890375a60c8f">var id</a> <span class="required">Required</span><div class="comment collapse in" id="comment-id-b80bb7740288fda1f201890375a60c8f"><p>The stable identity of the entity associated with <code>self</code>.</p>
<h4>Declaration</h4><code class="language-swift">var id: Self.ID</code></div></div>